home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / docitemattrprefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-08-26  |  1.2 KB  |  41 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SCRIBUS_DOCITEMATTRPREFS
  8. #define SCRIBUS_DOCITEMATTRPREFS
  9.  
  10. #include "ui_docitemattrprefs.h"
  11. #include "pagestructs.h"
  12.  
  13. class DocumentItemAttributes : public QWidget, Ui::DocumentItemAttributes
  14. {
  15.     Q_OBJECT
  16.     public:
  17.         DocumentItemAttributes( QWidget* parent = 0, Qt::WFlags fl = 0 );
  18.         ~DocumentItemAttributes();
  19.         virtual QStringList getDocAttributesNames();
  20.         virtual ObjAttrVector* getNewAttributes();
  21.         virtual void setup(ObjAttrVector *docItemAttrs);
  22.     protected:
  23.         virtual void updateTable();
  24.     protected slots:
  25.         virtual void tableItemChanged( int row, int col );
  26.         virtual void addEntry();
  27.         virtual void deleteEntry();
  28.         virtual void clearEntries();
  29.         virtual void copyEntry();
  30.     private:
  31.         ObjAttrVector localAttributes;
  32.         QStringList relationships;
  33.         QStringList relationshipsData;
  34.         QStringList autoAddTo;
  35.         QStringList autoAddToData;
  36.         QStringList types;
  37.         QStringList typesData;
  38. };
  39.  
  40. #endif
  41.